package com.ddxcloud.movie.data.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class WxLoginDTO {

    @NotBlank(message = "Code不能为空")
    @Schema(description = "用户登录凭证")
    private String code;

    @NotBlank(message = "EncryptedData不能为空")
    @Schema(description = "包括敏感数据在内的完整用户信息的加密数据")
    private String encryptedData;

    @NotBlank(message = "Iv不能为空")
    @Schema(description = "加密算法的初始向量")
    private String iv;
}
